package com.sky.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;

import java.util.List;


public interface DishService extends IService<Dish> {


    Result<PageResult> getDishByPage(DishPageQueryDTO dto);

    Result<Object> addDish(DishDTO dto);

    Result<List<Dish>> getDishListByCategoryId(Long categoryId);

    Result<Object> setDishStatusById(Long status, Long id);

    Result<Object> getDishInfoById(Long id);

    Result<Object> updateDishInfo(DishVO vo);

    Result<Object> deleteDishByIds(String ids);

    Result<List<DishVO>> getDishListAllInfoByCategoryId(Long categoryId);
}
